<template>
  <view>
    <navigator url="/pages/equipmentfailureinfo/equipmentfailureinfo" open-type="navigate" hover-class="navigator-hover">
      <button class="button">
        设备故障信息
        <uni-icons type="right" size="20"></uni-icons>
      </button>
    </navigator>
    <navigator url="/pages/hazardinfo/hazardinfo" open-type="navigate" hover-class="navigator-hover">
      <button class="button">
        隐患信息
        <uni-icons type="right" size="20"></uni-icons>
      </button>
    </navigator>
    <navigator url="/pages/standardworkinfo/standardworkinfo" open-type="navigate" hover-class="navigator-hover">
      <button class="button">
        标准化作业信息
        <uni-icons type="right" size="20"></uni-icons>
      </button>
    </navigator>
  </view>
</template>

<script>
export default {
  methods: {
    goToManual() {
      // No longer needed, handled by navigator
    },
    goToReport() {
      // No longer needed, handled by navigator
    },
    goToSpareParts() {
      // No longer needed, handled by navigator
    }
  }
}
</script>

<style>
.button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 40px;
  margin-bottom: 10px;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 5px;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}
.uni-icons {
  margin-left: 5px; /* Add spacing between text and icon */
}
</style>
